package com.airticketbooking.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;



@Data
public class Payment implements Serializable {
    private static final long serialVersionUID = 816644170310115124L;

    private Integer paymentId;

    private Integer payTypeId;

    private Integer orderId;

    private BigDecimal paymentAmount;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime paymentDateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDateTime;

}

